﻿using PublicCommon;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T_vehicle.Domain
{
    /// <summary>
    ///  事故信息表
    /// </summary>
    [Table("Accident")]
    public class Accident:Audit
    {
        /// <summary>
        ///  事故信息Id
        /// </summary>
        [Key]
        public int AccidentId { get; set; }

        /// <summary>
        /// 事故标题
        /// </summary>
        public string? AccidentTitle { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        public string? LicenNumber { get; set; }

        /// <summary>
        /// 事发人
        /// </summary>
        public string? Incident { get; set; }

        /// <summary>
        /// 事发日期
        /// </summary>
        public DateTime? IncidentDate { get; set; }

        /// <summary>
        /// 保险公司赔偿
        /// </summary>
        public decimal? Indemnify { get; set; }

        /// <summary>
        /// 公司净损失
        /// </summary>
        public decimal? Netloss { get; set; }

        /// <summary>
        /// 事故描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 直接经济损失
        /// </summary>
        public string? loss { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
